﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Protocol
{
    public class SelectProtocol
    {
        public const int ENTER_CREQ = 0;//客户端申请进入
        public const int ENTER_SRES = 1;//服务器返回申请结果
        public const int ENTER_EXBRO = 2;//除了自己之外广播进入

        public const int SELECT_CREQ = 3;//客户端申请选择
        public const int SELECT_SRES = 4;//服务器返回申请结果
        public const int SELECRT_BRO = 5;//除了自己之外广播选择

        public const int TALK_CREQ = 6;//客户端申请聊天
        public const int TALK_BRO = 7;//服务器广播聊天

        public const int READY_CREQ = 8;//客户端申请准备
        //public const int READY_SRES = 9;//服务器返回准备结果
        public const int READY_BRO = 12;//广播服务器准备结果

        public const int DESTORY_BRO = 10;//服务器广播解散房间
        public const int FIGHT_BRO = 11;//服务器广播开始战斗

    }
}
